<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'alumno-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note"><?php echo t('Campos con','nucleo_etiqueta');?><span class="required">*</span> <?php echo t('son requeridos','nucleo_etiqueta');?>.</p>
	
	<?php
		echo $form->errorSummary(array($model));
		$persona= isset($model->persona)?$model->persona:new Persona();
	?>
	<fieldset>
		<fieldset>
			<legend><?php echo t('Buscar Persona','persona_etiqueta')?></legend>
			<?php 
				//echo Yii::app()->getLayoutPath();exit;
				$this->renderPartial('application.modules.persona.views.alumno._alumno_buscar');
			?>
		</fieldset>
		<fieldset>
			<legend><?php echo t('Datos Personales','persona_etiqueta')?></legend>
		<?php 
			$this->renderPartial(
									'application.modules.persona.views.persona._persona_personal_readonly',
									array(
											'form'=>$form,
											'persona'=>$persona,
										)
								);
		?>
		</fieldset>
		<fieldset>
			<div class="width_half">
				<?php echo CHtml::submitButton(t('Continuar','nucleo_etiqueta'));?>
			</div>
			<div class="width_half">
				<?php echo CHtml::submitButton(t('Cancelar Inscripcion','carrera_etiqueta'), array('name'=>'cancelarInscripcion'));?>
			</div>
		</fieldset>
	</fieldset>
<?php $this->endWidget(); ?>

</div><!-- form -->